package com.hejing.object类.Object类之toString方法;

/**
 * ClassName: toStringTest
 * Package: com.hejing.object类.Object类之toString方法
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-26 23:13
 * @Version: 1.0
 */
public class toStringTest {
    public static void main(String[] args) {
        User u1 = new User("Tom", 12);
        System.out.println(u1.toString());  // com.hejing.object类.Object类之toString方法.User@4eec7777
    }
}

















